package com.wang.lotterysystem.dao.dataobject.prize;

import com.wang.lotterysystem.dao.dataobject.BaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = true)
public class PrizeDO extends BaseDO {

    @Schema(description = "奖品名称")
    private String name;

    @Schema(description = "奖品描述")
    private String description;

    @Schema(description = "奖品价格")
    private BigDecimal price;

    @Schema(description = "奖品图片url")
    private String imageUrl;
}